package com.yckj.activechicken.business.hr.mapper;

import com.yckj.activechicken.business.hr.model.HrEmployee;
import com.yckj.activechicken.business.hr.model.HrEmployeeExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface HrEmployeeMapper {
    long countByExample(HrEmployeeExample example);

    int deleteByExample(HrEmployeeExample example);

    int deleteByPrimaryKey(Integer empId);

    int insert(HrEmployee record);

    int insertSelective(HrEmployee record);

    List<HrEmployee> selectByExample(HrEmployeeExample example);

    HrEmployee selectByPrimaryKey(Integer empId);

    int updateByExampleSelective(@Param("record") HrEmployee record, @Param("example") HrEmployeeExample example);

    int updateByExample(@Param("record") HrEmployee record, @Param("example") HrEmployeeExample example);

    int updateByPrimaryKeySelective(HrEmployee record);

    int updateByPrimaryKey(HrEmployee record);
}